home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1999-07-13 | 1.8 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Tue Jul 13 21:53:58 1999, modified Tue Jul 13 21:53:58 1999, creator 'CWIE', type ASCII, 1173 bytes "ExprArray.h" , at 0x515 314 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 45 78 70 72 41 72 | 72 61 79 2e 68 00 00 00 |..ExprAr|ray.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 95 00 | 00 01 3a b3 b1 9e 36 b3 |........|..:...6.|
|00000060| b1 9e 36 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..6.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d3 c8 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 45 78 70 72 41 72 72 |#ifndef |_ExprArr|
|00000090| 61 79 5f 48 0d 23 64 65 | 66 69 6e 65 20 5f 45 78 |ay_H.#de|fine _Ex|
|000000a0| 70 72 41 72 72 61 79 5f | 48 0d 0d 23 64 65 66 69 |prArray_|H..#defi|
|000000b0| 6e 65 20 4d 41 58 5f 45 | 58 50 52 5f 41 52 52 41 |ne MAX_E|XPR_ARRA|
|000000c0| 59 5f 53 49 5a 45 09 20 | 31 35 0d 0d 0d 0d 0d 63 |Y_SIZE. |15.....c|
|000000d0| 6c 61 73 73 20 41 72 67 | 4c 69 73 74 3b 0d 63 6c |lass Arg|List;.cl|
|000000e0| 61 73 73 20 45 78 70 72 | 65 73 73 69 6f 6e 44 69 |ass Expr|essionDi|
|000000f0| 63 74 3b 0d 63 6c 61 73 | 73 20 45 78 70 72 65 73 |ct;.clas|s Expres|
|00000100| 73 69 6f 6e 3b 0d 0d 2f | 2a 20 49 66 20 61 6e 20 |sion;../|* If an |
|00000110| 61 72 67 6c 69 73 74 20 | 68 61 73 20 61 73 20 61 |arglist |has as a|
|00000120| 6e 20 61 72 72 61 79 20 | 6f 66 20 76 61 6c 75 65 |n array |of value|
|00000130| 73 20 28 65 78 2e 2c 20 | 61 64 31 2c 20 61 64 32 |s (ex., |ad1, ad2|
|00000140| 2c 20 61 64 33 2c 20 61 | 64 34 2e 2e 2e 29 2c 20 |, ad3, a|d4...), |
|00000150| 74 68 69 73 20 63 6c 61 | 73 73 0d 68 65 6c 70 73 |this cla|ss.helps|
|00000160| 20 65 78 74 72 61 63 74 | 20 74 68 65 6d 20 61 6e | extract| them an|
|00000170| 64 20 65 76 61 6c 75 61 | 74 65 20 74 68 65 6d 20 |d evalua|te them |
|00000180| 65 61 73 69 6c 79 2e 20 | 20 2a 2f 0d 0d 63 6c 61 |easily. | */..cla|
|00000190| 73 73 20 45 78 70 72 41 | 72 72 61 79 20 7b 0d 0d |ss ExprA|rray {..|
|000001a0| 0d 09 70 75 62 6c 69 63 | 3a 09 0d 09 09 09 09 09 |..public|:.......|
|000001b0| 09 09 45 78 70 72 41 72 | 72 61 79 28 29 3b 0d 09 |..ExprAr|ray();..|
|000001c0| 09 76 69 72 74 75 61 6c | 09 09 09 09 7e 45 78 70 |.virtual|....~Exp|
|000001d0| 72 41 72 72 61 79 28 29 | 3b 0d 09 09 0d 09 09 2f |rArray()|;....../|
|000001e0| 2f 20 52 65 74 75 72 6e | 73 20 68 6f 77 20 6d 61 |/ Return|s how ma|
|000001f0| 6e 79 20 65 78 72 73 20 | 61 72 65 20 63 6f 6d 70 |ny exrs |are comp|
|00000200| 69 6c 65 64 2f 72 65 61 | 64 79 20 74 6f 20 62 65 |iled/rea|dy to be|
|00000210| 20 65 76 61 6c 75 61 74 | 65 64 0d 09 09 69 6e 6c | evaluat|ed...inl|
|00000220| 69 6e 65 20 6c 6f 6e 67 | 09 09 09 43 6f 75 6e 74 |ine long|...Count|
|00000230| 28 29 09 63 6f 6e 73 74 | 09 09 09 09 09 09 09 09 |().const|........|
|00000240| 7b 20 72 65 74 75 72 6e | 20 6d 4e 75 6d 45 78 70 |{ return| mNumExp|
|00000250| 72 73 3b 09 09 7d 09 0d | 09 09 0d 09 09 2f 2f 20 |rs;..}..|.....// |
|00000260| 41 64 64 73 20 74 68 65 | 20 69 6e 64 65 6e 74 69 |Adds the| indenti|
|00000270| 66 69 65 72 73 20 61 6e | 64 20 74 68 65 69 72 20 |fiers an|d their |
|00000280| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 61 64 |correspo|nding ad|
|00000290| 64 72 65 73 73 65 73 20 | 74 6f 20 74 68 65 20 64 |dresses |to the d|
|000002a0| 69 63 74 0d 09 09 2f 2f | 76 6f 69 64 09 09 09 09 |ict...//|void....|
|000002b0| 4c 69 6e 6b 56 61 72 73 | 28 20 6c 6f 6e 67 20 69 |LinkVars|( long i|
|000002c0| 6e 49 44 2c 20 45 78 70 | 72 65 73 73 69 6f 6e 44 |nID, Exp|ressionD|
|000002d0| 69 63 74 26 20 69 6f 44 | 69 63 74 20 29 3b 0d 09 |ict& ioD|ict );..|
|000002e0| 09 0d 09 09 2f 2f 20 45 | 78 74 72 61 63 74 73 20 |....// E|xtracts |
|000002f0| 61 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 61 72 |a sequen|ce of ar|
|00000300| 67 73 20 66 72 6f 6d 20 | 61 6e 20 61 72 67 6c 69 |gs from |an argli|
|00000310| 73 74 20 28 69 65 2e 2c | 20 61 6e 64 20 61 72 72 |st (ie.,| and arr|
|00000320| 61 79 29 2c 20 61 6e 64 | 20 63 6f 6d 70 69 6c 65 |ay), and| compile|
|00000330| 73 20 74 68 65 6d 20 28 | 77 69 74 68 20 0d 09 09 |s them (|with ...|
|00000340| 2f 2f 20 74 68 65 20 67 | 69 76 65 6e 20 6c 69 6e |// the g|iven lin|
|00000350| 6b 20 64 69 63 74 69 6f | 6e 61 72 79 29 2e 20 20 |k dictio|nary). |
|00000360| 49 66 20 61 6e 20 61 72 | 67 6c 69 73 74 20 77 61 |If an ar|glist wa|
|00000370| 73 20 6b 6e 6f 77 6e 20 | 74 6f 20 63 6f 6e 74 61 |s known |to conta|
|00000380| 69 6e 20 61 64 31 2c 20 | 61 64 32 2c 20 61 64 33 |in ad1, |ad2, ad3|
|00000390| 2c 20 61 64 34 2e 2e 2e | 2c 0d 09 09 2f 2f 20 77 |, ad4...|,...// w|
|000003a0| 65 20 63 61 6c 6c 3a 20 | 43 6f 6d 70 69 6c 65 28 |e call: |Compile(|
|000003b0| 20 61 72 67 73 2c 20 27 | 61 64 27 2c 20 74 68 65 | args, '|ad', the|
|000003c0| 44 69 63 74 20 29 3b 0d | 09 09 2f 2f 20 50 6f 73 |Dict );.|..// Pos|
|000003d0| 74 3a 20 45 61 63 68 20 | 69 64 65 6e 74 69 66 69 |t: Each |identifi|
|000003e0| 65 72 2f 65 6c 65 6d 65 | 6e 74 20 69 73 20 61 64 |er/eleme|nt is ad|
|000003f0| 64 65 64 20 74 6f 20 69 | 6f 44 69 63 74 2e 0d 09 |ded to i|oDict...|
|00000400| 09 76 6f 69 64 09 09 09 | 09 43 6f 6d 70 69 6c 65 |.void...|.Compile|
|00000410| 28 20 63 6f 6e 73 74 20 | 41 72 67 4c 69 73 74 26 |( const |ArgList&|
|00000420| 20 69 6e 41 72 67 73 2c | 20 6c 6f 6e 67 20 69 6e | inArgs,| long in|
|00000430| 49 44 2c 20 45 78 70 72 | 65 73 73 69 6f 6e 44 69 |ID, Expr|essionDi|
|00000440| 63 74 26 20 69 6f 44 69 | 63 74 20 29 3b 0d 0d 09 |ct& ioDi|ct );...|
|00000450| 09 2f 2f 20 45 61 63 68 | 20 6c 6f 61 64 65 64 20 |.// Each| loaded |
|00000460| 65 78 70 72 65 73 73 69 | 6f 6e 20 69 73 20 65 76 |expressi|on is ev|
|00000470| 61 6c 75 61 74 65 64 20 | 61 6e 64 20 70 6c 61 63 |aluated |and plac|
|00000480| 65 64 20 69 6e 20 6d 56 | 61 6c 73 0d 09 09 76 6f |ed in mV|als...vo|
|00000490| 69 64 09 09 09 09 45 76 | 61 6c 75 61 74 65 28 29 |id....Ev|aluate()|
|000004a0| 3b 0d 0d 09 09 66 6c 6f | 61 74 09 09 09 09 6d 56 |;....flo|at....mV|
|000004b0| 61 6c 73 5b 20 4d 41 58 | 5f 45 58 50 52 5f 41 52 |als[ MAX|_EXPR_AR|
|000004c0| 52 41 59 5f 53 49 5a 45 | 20 5d 3b 0d 0d 09 70 72 |RAY_SIZE| ];...pr|
|000004d0| 6f 74 65 63 74 65 64 3a | 0d 09 09 45 78 70 72 65 |otected:|...Expre|
|000004e0| 73 73 69 6f 6e 2a 09 09 | 09 6d 45 78 70 72 73 3b |ssion*..|.mExprs;|
|000004f0| 0d 09 09 6c 6f 6e 67 09 | 09 09 09 6d 4e 75 6d 45 |...long.|...mNumE|
|00000500| 78 70 72 73 3b 09 09 0d | 7d 3b 0d 0d 0d 23 65 6e |xprs;...|};...#en|
|00000510| 64 69 66 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |dif.....|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 08 | 00 00 00 08 00 00 00 32 |........|.......2|
|00000590| 6f 67 72 61 6d 2e 52 65 | 6d 6f 76 65 28 20 50 43 |ogram.Re|move( PC|
|000005a0| 20 2b 20 31 2c 20 34 20 | 29 3b 0d 09 09 09 09 09 | + 1, 4 |);......|
|000005b0| 09 6d 50 72 6f 67 72 61 | 6d 2e 52 65 6d 6f 76 65 |.mProgra|m.Remove|
|000005c0| 28 20 70 75 73 68 4c 6f | 63 20 2b 20 31 2c 20 34 |( pushLo|c + 1, 4|
|000005d0| 20 29 3b 0d 09 09 09 09 | 09 09 50 43 09 09 2d 3d | );.....|..PC..-=|
|000005e0| 20 38 3b 0d 09 09 09 09 | 09 09 69 6e 45 6e 64 50 | 8;.....|..inEndP|
|000005f0| 43 09 2d 3d 20 38 3b 0d | 09 09 09 09 09 7d 0d 09 |C.-= 8;.|.....}..|
|00000600| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 7d 0d |....brea|k;....}.|
|00000610| 09 09 7d 0d 09 09 0d 09 | 09 2f 2f 20 4d 6f 76 65 |..}.....|.// Move|
|00000620| 20 74 68 65 20 50 43 20 | 61 6c 6f 6e 67 2c 20 66 | the PC |along, f|
|00000630| 6f 72 20 77 65 20 6a 75 | 73 74 20 6c 6f 6f 6b 65 |or we ju|st looke|
|00000640| 64 20 61 74 20 61 6e 20 | 69 6e 73 74 72 75 63 74 |d at an |instruct|
|00000650| 69 6f 6e 0d 09 09 50 43 | 20 2b 3d 20 34 3b 0d 09 |ion...PC| += 4;..|
|00000660| 7d 0d 09 0d 09 72 65 74 | 75 72 6e 20 72 65 67 73 |}....ret|urn regs|
|00000670| 49 6e 55 73 65 3b 0d 7d | 0d 0d 2a 2f 0d 0d 0d 0d |InUse;.}|..*/....|
|00000680| 00 00 00 04 00 01 00 01 | 00 00 01 00 00 00 01 08 |........|........|
|00000690| 00 00 00 08 00 00 00 32 | 04 c3 06 a4 12 00 00 00 |.......2|........|
|000006a0| 00 1c 00 32 00 00 4d 57 | 42 42 00 00 00 0a 03 f0 |...2..MW|BB......|
|000006b0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+